﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WomanMotion.WebApi.Infrastructure.Ioc;
using WomanMotion.WebApi.Infrastructure.UnifyResult;
using WomanMotion.WebApi.Model.Common.FileUpload;

namespace WomanMotion.WebApi.Service.IService
{
    /// <summary>
    /// 公共服务接口
    /// </summary>
    public interface ICommonService : ITransientDependency
    {
        /// <summary>
        /// 文件上传接口
        /// </summary>
        /// <param name="file"></param>
        /// <returns></returns>
        FileInfoVM FileUpload(IFormFile file);
    }
}